<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link href="{TPL}css/NewTopFoot.css" rel="Stylesheet" type="text/css">
<link type="text/css" rel="stylesheet" href="{TPL}css/AddItemPanel.css">
<link href="{TPL}css/public.css" rel="Stylesheet" type="text/css">
<link type="text/css" id="styleName" rel="stylesheet" href="{TPL}css/blue/color.css"/ > 
<script type="text/javascript" src="{TPL}js/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="{TPL}js/wdggcGobal.js"></script>
<script type="text/javascript" src="{TPL}js/Country.js"></script>
<title>
	{lang My_Points} -{$cfg_site_name}
</title>
<style type="text/css">
	.tijidiv{
		padding:2px;
		border:1px solid red;
	}
</style>
</head>
<body>



    <form action="m.php?name=sendorderlist" method="post" enctype="multipart/form-data" name="aspnetForm" id="aspnetForm">

{template 'header'}

    <div class="admin">
        <div class="ding">
            <div class="shouye">
                <a href="{url_m.php}" title="我的会员中心"></a>
            </div>
            <div class="lb">
               <div class="weizhi">
                      <b>{lang Location}：</b><a href="{url_m.php}">{lang Member_Center}</a><span>&gt;</span>更多详细运单资料
                  </div>
                
                <div class="shezhi">
                    <p>
                        <a href="{url_m.php}">{lang My_Member_Center}</a><span>|</span>{lang Setting_style}：</p>
                    <ul>
                        <li onClick="changeStyle('orange')" class="mypanliS1"></li>
                        <li onClick="changeStyle('grey')" class="mypanliS2"></li>
                        <li onClick="changeStyle('blue')" class="mypanliS3"></li>
                    </ul>
              </div>
            </div>
        </div>

{template 'member_left'}  

    <div class="fill">
    
       <table cellpadding="0" cellspacing="5" class="rjiandan">
        <thead>
            <tr>
                <th class="p_common" colspan="4"> 运单资料 </th>
          </tr>
            <tr>
                <td colspan="4">                </td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td width="9">&nbsp;                </td>
                <td width="83">
                    {lang Parcel_No}：                </td>
                <td align="left" width="429">
                    <input type="text" class="inp1" id="sn" style="width: 245px;" maxlength="550" name="sn" value="{$value['sn']}">
                                    </td>
                <?php if($value['tiji_yes'] == '是'){ 
						$dataarray1 =  mysql_query("select * from dg_tiji where sid = '".$value['sid']."'");?>
				<td width="134" rowspan="10"><div style="padding:1px; border:#f60 solid 1px; width:300px; height:auto;float:left"><div style="text-align:center;border-bottom: 1px solid #f60;" ><b>体积 (长 X 高 X 厚 / <?php while($v2=mysql_fetch_array($dataarray1)){
																																																			echo number_format($v2['bz_adj'],2,".",",");; break;} ?>)</b></div>
					<div id='TextBoxesGroup'>
						<?php
						$dataarray =  mysql_query("select * from dg_tiji where sid = '".$value['sid']."'");
						$ttlprice = 0;
						$i=1;
						if ($dataarray != null){
						while($v=mysql_fetch_array($dataarray)){
						$ttlprice += $v['bz_total'];
						?>
						<div class="tijidiv" id="TextBoxDiv<?php echo $i ?>">
								<table style="width:100%"><tr><td style="width:50%"><label>长 : </label><input type='textbox' style="width:80px" id='textlength<?php echo $i ?>' name='textlength<?php echo $i ?>' value="<?php echo $v['bz_length'] ?>" readonly>&nbsp;&nbsp;&nbsp;</td>
									<td></td>
								</tr><tr><td><label>高 : </label><input type='textbox' style="width:80px" id='textheight<?php echo $i ?>' name='textheight<?php echo $i ?>' value="<?php echo $v['bz_height'] ?>" readonly>&nbsp;&nbsp;&nbsp;</td>
									<td style="width:50%"></td>
								</tr><tr><td><label>厚 : </label><input type='textbox' style="width:80px" id='textwidth<?php echo $i ?>' name='textwidth<?php echo $i ?>'  value="<?php echo $v['bz_width'] ?>"  readonly>&nbsp;&nbsp;&nbsp;</td>
								<td><label>重量 : </label><input type='textbox' style="width:100px" id='textprice<?php echo $i ?>' name='textprice<?php echo $i ?>' value="<?php echo $v['bz_total'] ?>"  readonly></td></tr></table>
						</div>
						<?php
						$i++;
						}
						}
						?>
						
						
					</div>
					
				</div><table style="width:100%"><tr><td style="width:50%"><label>总抛重 : </label><input type='textbox' style="width:100px" id='textttlprice' name='textttlprice' value="<?php echo $ttlprice ?>"  readonly></td>
						<td style="width:50%"></td>
						</tr></table></td>
					<?php } ?>
            </tr>
            <tr>
                <td>&nbsp;                </td>
                <td>
                    {lang Waybill_No}：                </td>
                <td align="left">
					<input type="text" class="inp1" id="sid" maxlength="150" name="sid" value="{$value['sid']}">	</td>
            </tr>
			<tr>
                <td>&nbsp;                </td>
                <td>
                    件数：                </td>
                <td align="left">
					<input type="text" class="inp1" id="jian_shu" maxlength="150" name="jian_shu" value="{$value['jian_shu']}">	</td>
            </tr>
            <tr>
                <td>&nbsp;                </td>
                <td>
                    {lang Consignee}：                </td>
                <td align="left">
                    <input name="consignee" type="text" class="inp1" style="width: 245px;" id="consignee" value="{$value['consignee']}" maxlength="220">                </td>
            </tr>
            <tr>
                <td>&nbsp;                </td>
                <td>
                    {lang Shipping_method}：                </td>
                <td align="left">
                    <input name="deliveryname" type="text" class="inp1" id="deliveryname" value="{$value['deliveryname']}" maxlength="50">                </td>
            </tr>
            <tr>
                <td>&nbsp;                </td>
                <td>
                   {lang Waybill_Status}：                </td>
                <td align="left">
                    <input name="areadeliveryname" type="text" class="inp1" id="areadeliveryname" style="width: 245px;" value="{$SENDORDERSTATE[$value['state']]} {$value['areaname']}-{$value['deliveryname']}" maxlength="800">                </td>
            </tr>
			<?php if($value['tiji_yes'] == '是'){ ?>
            <tr>
                <td>&nbsp;                </td>
                <td>
                   实重：                </td>
              <td align="left">
				<input name="shi_countweight" type="text" class="inp1" id="shi_countweight" value="{$value['shi_countweight']}" maxlength="800"> KG/立方               </td>
                <td>&nbsp;</td>
            </tr>
			<tr>
                <td>&nbsp;                </td>
                <td>
                   抛重：                </td>
              <td align="left">
				<input name="countweight" type="text" class="inp1" id="countweight" value="{$value['countweight']}" maxlength="800"> KG/立方               </td>
                <td>&nbsp;</td>
            </tr>
			<?php }else{ ?>
			<tr>
                <td>&nbsp;                </td>
                <td>
                   重量：                </td>
              <td align="left">
				<input name="countweight" type="text" class="inp1" id="countweight" value="{$value['countweight']}" maxlength="800"> KG/立方               </td>
                <td>&nbsp;</td>
            </tr>
			<?php } ?>
            <tr>
              <td>&nbsp;</td>
              <td> 总费用： </td>
              <td align="left"><input name="totalfee" type="text" class="inp1" id="totalfee" value="{$value['totalfee']}" maxlength="128" />
                </td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td> 备注： </td>
              <td align="left"><textarea style="border:1px solid gray;margin: 0px;width:245px" rows="5" cols="50" id="remark" name="remark">{$value['remark']}</textarea>
                  </td>
              <td>&nbsp;</td>
            </tr>
				
            <tr>
                <td>&nbsp;                </td>
                <td>                </td>
                <td colspan="2">
                    <input type="submit" class="inputblue" id="" onClick="" value="返回" name="commit" />                </td>
            </tr>
        </tbody>
    </table>
    
    </div>


      <div class="yj">
      </div>
    </div>

    
{template 'footer'}

</form>
</body>
</html>